ConfigurationAPI Methods
An object defining methods for the ConfigurationAPI class.
SetUrl(url)
Sets the API URL for requests.
Parameters:
url (required): string
The new API URL.
Returns:
Type: void
Method does not return anything
Exceptions:
Type: ArgumentNullException
ThrowsArgumentNullException
if URL is null or empty.
Type: Exception
ThrowsException
if the URL is invalid.
This is a sync method. Method runs synchronously.
GetConfiguration(data, telemetryCollectorHolder)
Retrieves configuration data based on the specified request parameters, returning the configuration details in the response.
Parameters:
data (required): GetConfigurationRequest
The request data containing the configuration key to specify which configuration to retrieve.
telemetryCollectorHolder (optional): ITelemetryCollectorHolder
Holds telemetry collection data for tracking and diagnostics during the configuration retrieval process. Defaults tonull
if not provided, used for advanced telemetry purposes.
Returns:
Type: Task<WrapResponse<GetConfigurationResponse>>
Returns configuration data
This is a async method. Method should be waited. Be careful if call this method without waiting.